
package com.zhitan.ems.app.iot.wrapper;
import com.zhitan.ems.app.iot.entity.ProductCategoryEntity;
import com.zhitan.ems.app.iot.vo.ProductCategoryVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 产品分类 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:15:46
 */
public class ProductCategoryWrapper extends BaseEntityWrapper<ProductCategoryEntity, ProductCategoryVO>  {
    public static ProductCategoryWrapper build() {
        return new ProductCategoryWrapper();
    }
	@Override
	public ProductCategoryVO entityVO(ProductCategoryEntity productCategory) {
		if(productCategory==null) {
			return null;
		}
		ProductCategoryVO productCategoryVO = BeanUtil.copy(productCategory, ProductCategoryVO.class);
		return productCategoryVO;
	}

}
